package com.example.bpmn.service;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import com.example.bpmn.event.ProcessEvent;

@Slf4j
@Service
@RequiredArgsConstructor
public class ProcessCallbackService {
    
    public void sendCallback(ProcessEvent event) {
        log.info("发送回调通知: event={}", event);
        // TODO: 实现实际的回调逻辑
    }
    
    public void sendErrorCallback(String businessKey, String errorCode, String errorMessage) {
        log.error("流程错误回调: businessKey={}, code={}, message={}", 
            businessKey, errorCode, errorMessage);
        // TODO: 实现实际的错误回调逻辑
    }
} 